package msg
import (
	"github.com/name5566/leaf/network/protobuf"
)

var (
	Processor = protobuf.NewProcessor()
)

func init() {	// 这里我们注册 protobuf 消息)
    Processor.SetByteOrder(true)
    Processor.Register(&StartFight{})
    Processor.Register(&FightResult{})
    Processor.Register(&EnterFight{})
    Processor.Register(&SignUpResponse{})
    Processor.Register(&TosChat{})
    Processor.Register(&TocChat{})
    Processor.Register(&Login{})
    Processor.Register(&PlayerBaseInfo{})
    Processor.Register(&LoginSuccessfull{})
    Processor.Register(&LoginFaild{})
    Processor.Register(&MSG_ReqServerList_SC{})
    Processor.Register(&ServerInfo{})
    Processor.Register(&MSG_RetServerList_CS{})

}